<!DOCTYPE html>

<html>

<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" href="css/purchase.css">
	<style>
		input::-webkit-input-placeholder {
			color: #aab2bd;
			font-size: 18px;
			font-family: "宋体";
	}
	</style>
</head>

<body>
    <div class="div1">
    	<div class="logo">
    		<a href="index.html"></a>
    	</div>
		<div class="welcome">
			<h>欢迎光临</h>
		</div>
    </div>
    <div class="bl">
    </div>
	<div class="main">
		<div class="pinf">
			<li style="list-style: none; padding-left: 15px;padding-top: 15px;font-family: '微软雅黑';font-weight: bold;">收货人信息</li>
			<div class="pinf2">
				<table class="t1" cellpadding="0" cellspacing="0">
					<tr>
						<td width="80px">
							<span th:text="${user.username}" style="font-size:15px;font-family:仿宋"></span>
						</td>
						<td width="400px">
							<span th:text="${user.receivelo}" style="font-size:15px;font-family:仿宋"></span>
						</td>
						<td width="120px">
							<span th:text="${user.receivetel}" style="font-size:15px;font-family:仿宋"></span>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div class="com">
			<div class="pic">
				<img th:src="@{${commodity.pic}}" width="150px" height="150px"/>
			</div>
			<div class="intro">
				<p th:text="'['+${commodity.commodityname}+']'+${commodity.details}"></p>
			</div>
			<div class="price">
				<span th:text="'￥'+${commodity.price}" style="color:red;font-family:仿宋;font-weight:bold"></span>
			</div>
			<div class="price">
				<span th:text="${cart.quantity}" style="font-size:18px;font-family:仿宋">件</span>
			</div>
		</div>
		<div class="r1">
			<form action="/ordersubmit" method="post">
				<table>
					<tr>
						<td width="200px" style="text-align:right;height:30px;">
							<span th:text="${cart.quantity}" style="color:red;font-size:15px;font-family:仿宋"></span><span style="font-size:15px;font-family:仿宋;">件商品，总金额：</span>
						</td>
						<td width="200px" style="text-align:right;height:30px;">
							<span th:text="'￥'+${cart.total}" style="font-family:仿宋;"></span>
						</td>
					</tr>
					<tr>
						<td width="200px" style="text-align:right;height:30px;">
							<span style="font-size:15px;font-family:仿宋;">运费：</span>
						</td>
						<td width="200px" style="text-align:right;height:30px;">
							<span style="font-family:宋体;">￥0</span>
						</td>
					</tr>
					<tr>
						<td width="200px" style="text-align:right;height:30px;">
							<span style="font-size:15px;font-family:仿宋;">应付金额：</span>
						</td>
						<td width="200px" style="text-align:right;height:30px;">
							<span th:text="'￥'+${cart.total}" style="font-family:宋体;font-weight:bold;color:red;"></span>
						</td>
					</tr>
					<tr>
						<td width="200px" style="text-align:right;height:30px;">
							<span style="font-size:15px;font-family:仿宋;">订单号：</span>
						</td>
						<td width="200px" style="text-align:right;height:30px;">
							<input th:value="${cart.orderno}" readonly="readonly" style="text-align:right;background-color:white;border:0;" name="orderno"/>
						</td>
					</tr>
				</table>
				<input type="submit" class="btn" value="提交"/>
			</form>
		</div>
	</div>
</body>

</html>